package com.atguigu.day11.record03;

public class RecordTest {

    public static void main(String[] args) {
        Monkey m1 = new Monkey("齐天大圣", 2000);
        System.out.println("m1 = " + m1);

        System.out.println("m1.name() = " + m1.name());
        System.out.println("m1.age() = " + m1.age());
    }
}
